#pragma once
#include "../common/lua_version.h"
#include "lua_utils.h"
#include "Win32Utils/fcjson.h"

class lua_share
{

public:
    static void initialize(lua_State* L, const char* lib_name);
    static void uninitialize();

    static int create(lua_State* L);
    static int read(lua_State* L);
    static int write(lua_State* L);
    static int create_event(lua_State* L);
    static int set_event(lua_State* L);
    static int wait_event(lua_State* L);
    static int create_mutex(lua_State* L);
    static int wait_mutex(lua_State* L);
    static int release_mutex(lua_State* L);

private:
};

